Skip to content

feat: KEEP-310 bundle keeperhub-wallet skill in keeperhub plugin#4

Open
eskp wants to merge 1 commit into
mainfrom
feature/keep-310-bundle-wallet-skill
Open

feat: KEEP-310 bundle keeperhub-wallet skill in keeperhub plugin#4
eskp wants to merge 1 commit into
mainfrom
feature/keep-310-bundle-wallet-skill

Conversation

@eskp
Copy link
Copy Markdown
Contributor

@eskp eskp commented May 15, 2026

Summary

Vendors keeperhub-wallet.skill.md from @keeperhub/wallet v0.1.12 as the plugin's fifth skill. After this lands, an agent that installs the keeperhub plugin will know about the wallet skill (triggers, MCP tools, payment flow) without a separate skill install. Pure plugin content -- no executable code shipped.

Linear: https://linear.app/keeperhubapp/issue/KEEP-310

What's in scope (Option A from the issue)

  • plugins/keeperhub/skills/keeperhub-wallet/SKILL.md -- vendored verbatim from @keeperhub/wallet@0.1.12 (agentic-wallet/skill/keeperhub-wallet.skill.md).
  • plugins/keeperhub/.claude-plugin/plugin.json -- version 3.0.0 -> 4.0.0; added agentic-wallet and x402 keywords.
  • .claude-plugin/marketplace.json -- mirrors the version bump and keyword additions.
  • plugins/keeperhub/README.md -- skill list now includes keeperhub-wallet with a note about the one-time npx -p @keeperhub/wallet keeperhub-wallet skill install for the safety hook.
  • plugins/keeperhub/CLAUDE.md -- component count updated 4 -> 5.
  • CHANGELOG.md -- 4.0.0 entry.

What's NOT in scope (deferred follow-ups)

  • Plugin-managed PreToolUse hook (Option A2 from the issue). The skill itself still asks users to run npx -p @keeperhub/wallet keeperhub-wallet skill install once to register the safety hook in ~/.claude/settings.json. Folding the hook into a plugin-declared hooks/ config so plugin install = full functionality is a worthwhile but bigger change (needs research on Claude Code's plugin-hook spec) and didn't fit this PR.
  • Wallet provisioning. npx -p @keeperhub/wallet keeperhub-wallet add still has to happen once per host to create the wallet. Could be auto-triggered on first paid-workflow call as a UX improvement.
  • Remove the "(soon)" caveat in docs/ai-tools/agentic-wallet.md -- that file lives in the keeperhub repo, not here. Separate PR.

Vendoring concern (called out in the issue)

The skill content now has two sources of truth (@keeperhub/wallet npm package and this plugin). On the wallet's next material skill update, this plugin will need a re-vendor commit. The wallet's release workflow could automate this, but for now it's manual.

Test plan

  • plugins/keeperhub/skills/keeperhub-wallet/SKILL.md matches agentic-wallet/skill/keeperhub-wallet.skill.md (vendored verbatim from v0.1.12).
  • Plugin version bumped consistently in plugin.json and marketplace.json.
  • CHANGELOG follows the existing Keep-a-Changelog format.
  • Manual: install the plugin in a clean Claude Code workspace and confirm the wallet skill is discoverable (triggers fire on "pay for keeperhub workflow").
  • Manual: regression-test that a user who previously ran wallet skill install separately still works (the skill ends up registered twice in different locations; should be idempotent on disk because the filenames differ).

Vendors `keeperhub-wallet.skill.md` from `@keeperhub/wallet` v0.1.12 as
the plugin's fifth skill, so agents installing the keeperhub plugin
also know how to pay for KeeperHub marketplace workflows and any
x402 / MPP 402 endpoint -- no longer requires a separate
`npx -p @keeperhub/wallet keeperhub-wallet skill install` to surface
the skill content.

What's NOT included in this version bump:

- The `PreToolUse` safety hook still has to be registered in
  `~/.claude/settings.json` for the wallet to actually transact; the
  skill content documents the one-time
  `npx -p @keeperhub/wallet keeperhub-wallet skill install` that does
  that registration. Folding the hook into a plugin-managed
  `hooks/` declaration is a follow-up.
- Wallet provisioning (`keeperhub-wallet add`) is a separate first-run
  step and remains the user's responsibility.

Files:
- plugins/keeperhub/skills/keeperhub-wallet/SKILL.md -- vendored.
- plugins/keeperhub/.claude-plugin/plugin.json -- v3.0.0 -> v4.0.0,
  added "agentic-wallet" + "x402" keywords.
- .claude-plugin/marketplace.json -- mirror version bump + keywords.
- plugins/keeperhub/README.md -- skill list now includes
  keeperhub-wallet with the install-once footnote.
- plugins/keeperhub/CLAUDE.md -- component count 4 -> 5.
- CHANGELOG.md -- 4.0.0 entry.

Follow-ups:
- Plugin-managed PreToolUse hook (Option A2 from the issue).
- KEEP-310 also calls for removing the "(soon)" caveat in
  keeperhub/docs/ai-tools/agentic-wallet.md -- separate PR in the
  keeperhub repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant